//
//  LoginCell.m
//  SportSocial
//
//  Created by yull on 14/11/25.
//  Copyright (c) 2014年 yull. All rights reserved.
//

#import "LoginCell.h"
#import "UIView+Frame.h"
@implementation LoginCell

- (void)drawCellWithText:(NSString *)text image:(UIImage *)image
{
    self.textLabel.text = text;
    self.imageView.image = image;
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    if (self.imageView.image) {
        self.imageView.left = 30.0f;
        self.textLabel.left = 80.0f;
    }else {
        self.textLabel.left = 30.0f;
    }
}
@end
